package com.btl.service.ai.support.input.common.split.strategy.splitter;

import com.btl.service.ai.support.input.common.split.splitters.FaqQASplitter;
import com.btl.service.ai.support.input.common.split.strategy.SplitStrategy;
import com.btl.service.ai.support.input.common.split.strategy.SplitterEnum;
import dev.langchain4j.data.document.DocumentSplitter;
import org.springframework.stereotype.Service;


@Service
public class FaqSplitterStrategy implements SplitStrategy {

    @Override
    public DocumentSplitter getDocumentSplitter() {
        return new FaqQASplitter();
    }

    @Override
    public SplitterEnum splitter() {
        return SplitterEnum.FAQ_SPLITTER;
    }
}
